package io.adrainty.bolee.insurance.models.bo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.adrainty.bolee.framework.commons.basic.BaseBO;
import io.adrainty.bolee.framework.commons.basic.EnableEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * <p>WarrantyInsuredBO</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description 被保人
 * @since 2025/8/26 10:21:12
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "被保人")
@TableName("tab_warranty_insured")
public class WarrantyInsuredBO extends BaseBO {
    
    @Serial
    private static final long serialVersionUID = 1168029964636604980L;

    @Schema(description = "保单编号")
    private String warrantyNo;

    @Schema(description = "被投保人姓名")
    private String insuredName;

    @Schema(description = "被投保人身份证号码")
    private String insuredIdentityCard;

    @Schema(description = "企业编号")
    private String companyNo;

    @Schema(description = "年龄")
    @TableField(exist = false)
    private Integer age;

    @Schema(description = "出生日期")
    @TableField(exist = false)
    private String birthday;

    @Schema(description = "性别")
    @TableField(exist = false)
    private String sex;

    @Schema(description = "数据状态：0正常 1禁用")
    private EnableEnum dataState;
    
}
